package com.ktjy.t382.bank.service;

import com.ktjy.t382.bank.entity.Account;
import com.ktjy.t382.bank.entity.Bank;

import java.util.List;
import java.util.Map;

public interface BankService {
    //登录
    Account login(Account account);

    //分页查询
    List<Bank> findPageVo(Bank bank, String cardno, String startTime, String endTime, Integer pageNo, Integer pageSize);

    //转账
    Map<String, Object> transfer(String fromCardno, String toCardno, double amount, String remark);

    //查询余额
    Account checkBalance(String cardno);

    //确认密码
    int confirmPassword(Account account);

    //修改密码
    int changePassword(Account account);
}
